package com.example.demo.service;

import com.example.demo.dao.BookCategoryMapper;
import com.example.demo.entity.BookCategory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookCategoryServiceImpl implements BookCategoryService {


    @Autowired
    private BookCategoryMapper bookCategoryMapper;

    @Override
    public List<BookCategory> selectAll() {
        return bookCategoryMapper.selectAll();
    }
}
